﻿using System;
using GalaSoft.MvvmLight.Messaging;

namespace Marc.JwOrgClient.Messages {
    public class ShowFolderBrowserDialogMessage : MessageBase{
        private readonly string _initialFolder;
        private readonly Action<string> _folderSelectedCallback;

        public ShowFolderBrowserDialogMessage(string initialFolder, Action<string> folderSelectedCallback) {
            _initialFolder = initialFolder;
            _folderSelectedCallback = folderSelectedCallback;
        }

        public string InitialFolder {
            get { return _initialFolder; }
        }

        public Action<string> FolderSelectedCallback {
            get { return _folderSelectedCallback; }
        }
    }
}
